{% extends "blogs/base.html" %}

{% block header %}
	<h2>版块</h2>
{% endblock header %}

{% block content %}
	<ul>
		{% for topic in topics %}
			<ul class="nav nav-tabs nav-stacked">
				<li>
					<h3>
						<a href="{% url 'blogs:topic' topic.id %}">{{ topic }}</a>
					</h3>
				</li>
			</ul>
		{% empty %}
			<li>还没有版块哦</li>
		{% endfor %}
	</ul>
{% endblock content %}
